﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MessageList.aspx.cs" Inherits="MessageList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>新消息</title>

    <script type="text/javascript">
        function checkbox(){
            var str=document.getElementsByName("box");
            var objarray=str.length;
            var chestr="";
            
            for(var i=0;i<objarray;i++){
                if(str[i].checked==true){
                     chestr+=str[i].value+",";
                }
            }
            document.getElementById("txtId").value=chestr;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="743" border="1">
            <tr>
                <th colspan="5" scope="col">
                    消息列表</th>
            </tr>
            <%= tableContent %>
            <%--<tr>
            <td width="26">
                <input type="checkbox" /></td>
            <td width="20">
                1</td>
            <td width="473">
                <a href="Message.htm" target="_self">通知：前幅织片已确认报价，请按照生产计划执行。</a></td>
            <td width="123">
                2013-03-10</td>
            <td width="67">
                &nbsp;</td>
        </tr>
        <tr>
            <td width="26">
                <input type="checkbox" /></td>
            <td width="20">
                2</td>
            <td width="473">
                <a href="Message.htm" target="_self">新竞价：封盘可以开始报价。</a></td>
            <td width="123">
                2013-03-10</td>
            <td width="67">
                &nbsp;</td>
        </tr>
        <tr>
            <td width="26">
                <input type="checkbox" /></td>
            <td width="20">
                3</td>
            <td width="473">
                <a href="Message.htm" target="_self">新竞价：挑撞可以报价。</a></td>
            <td width="123">
                2013-03-10</td>
            <td width="67">
                &nbsp;</td>
        </tr>
        <tr>
            <td width="26">
                <input type="checkbox" /></td>
            <td width="20">
                4</td>
            <td width="473">
                <a href="Message.htm" target="_self">新竞价：前幅可以开始报价。</a></td>
            <td width="123">
                2013-03-10</td>
            <td width="67">
                &nbsp;</td>
        </tr>--%>
        </table>
        <p>
            <%--<input type="button" onclick="alert('删除成功')" value="删除" />--%>
            <asp:Button runat="server" ID="btnDelete" Text="删除" OnClick="btnDelete_Click" />
        </p>
        <asp:TextBox ID="txtId" runat="server" Style="display: none;"></asp:TextBox>
    </form>
</body>
</html>
